.POSIX:

BINOWN= dbane
BINGRP= staff
SHAREOWN= dbane
SHAREGRP= staff
.include <bsd.own.mk>

PREFIX?= /Users/dbane
BINDIR= $(PREFIX)/bin
MANDIR= $(PREFIX)/man/man
PROG= lbl

# Need _DARWIN_C_SOURCE for strlcpy/strlcat
CXXFLAGS+= -I../hdr -Wall -Wextra -Weffc++ -std=c++14 -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE
#CXXFLAGS+= -I../hdr -Wall -Wextra -Weffc++ -std=c++14 -D_XOPEN_SOURCE=600
#CFLAGS+= -I../hdr -Wall -Wextra -std=c11 -D_XOPEN_SOURCE=600
#LDADD+= -lbsd

MAN= lbl.1
SRCS= lbl.cpp actions.cpp build.cpp externs.cpp find.cpp keyword.cpp list.cpp \
      printl.cpp rescan.cpp scan.cpp signals.cpp
LIBC= /lib/x86_64-linux-gnu/libc.so.6

.include <bsd.prog.mk>
